* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-image: url(../img/bg.png);
	background-size: cover;
	background-repeat: no-repeat;
}

a {
	text-decoration: none;
}

input {
	outline: none;
}

.container {
	display: flex;
	height: 100vh;
	justify-content: center;
	align-items: center;
}

.log {
	background: #fff;
	padding: 70px 50px;
	box-shadow: -1px 0px 10px 2px #E8EBF0;
}

.log h1 {
	font-family: "微软雅黑";
	font-size: 42px;
	text-align: center;
	margin-bottom: 40px;
	color: #222222;
}

.log input {
	width: 375px;
	padding: 14px 20px 14px 40px;
	margin-bottom: 20px;
	border: 1px solid #E5E5E5;
	border-radius: 5px;
	color: #BBB8C1;
}

.log input:focus {
	border: 1px solid #cccccc;
}

.log p {
	position: relative;
}

.user {
	display: inline-block;
	width: 20px;
	height: 24px;
	background: url(../img/yonghuming.png);
	position: absolute;
	top: 10px;
	left: 10px;
}

.password {
	display: inline-block;
	width: 19px;
	height: 25px;
	background: url(../img/mima.png);
	position: absolute;
	top: 10px;
	left: 10px;
}

#submit {
	background: #7554BF;
	color: #fff;
	border-radius: 5px;
	/*变小手*/
	cursor: pointer;
}

#submit:hover {
	background: #6531bf;
}

.reg {
	height: 430px;
	padding: 100px 50px;
	color: #FFFFFF;
	background: url(../img/bg-login.png);
	background-size: cover;
}

.reg p {
	margin-bottom: 50px;
}

.reg a {
	color: #f3f3f3;
}

.reg a:hover {
	color: #FFFFFF;
}

.right {
	background: url(../img/youjiantou.png);
	width: 28px;
	height: 28px;
	display: inline-block;
	position: relative;
	top: 8px;
	left: 4px;
}


/*响应式*/

@media (max-width:600px) {
	.container{
		flex-wrap:wrap;
	}
	.log input{
		width: 320px;
	}
	.reg{
		width: 420px;
		height: 300px;
		margin-top: 20px;
		padding: 50px;
	}
}